<?php

declare (strict_types=1);

namespace App\Model;

/**
 * @property int $id
 * @property int $uid
 * @property string $openid
 * @property string $nickname
 * @property string $avatar_url
 * @property string $game_hash
 * @property string $uuid
 * @property int $level
 * @property int $vip
 * @property int $vip_cost
 * @property int $coin
 * @property \Carbon\Carbon $last_login_at
 * @property \Carbon\Carbon $created_at
 * @property \Carbon\Carbon $updated_at
 */
class QmGameUser extends Model {
    /**
     * The table associated with the model.
     *
     * @var string
     */
    protected $table = 'qm_game_user';
    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [];
    /**
     * The attributes that should be cast to native types.
     *
     * @var array
     */
    protected $casts = [
        'id'            => 'integer', 'uid' => 'integer', 'openid' => 'string', 'nickname' => 'string', 'avatar_url' => 'string',
        'game_hash'     => 'string', 'uuid' => 'string', 'vip' => 'integer', 'vip_cost' => 'integer', 'coin' => 'integer',
        'last_login_at' => 'datetime', 'level' => 'integer', 'created_at' => 'datetime', 'updated_at' => 'datetime'
    ];
}